package com.dirsir.entities;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class Merchant {
	private Integer merchantId;
	private String merchantName;
	private String account;
	private String merchantPassword;
	private String unifyCode;
	private String manage;
	private String location;
	private Double money;
	private String corp;
	private String corpPhone;
	private String director;
	private String directorPhone;
	private Double merchantBalance;
	private String recordDate;
	private Integer recordState;
	private Integer adminId;
	private String checkDate;
	private String licensePicture;
	private String corpPicture;
	private List<Commodity> commoditys;
	public Integer getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(Integer merchantId) {
		this.merchantId = merchantId;
	}
	public String getMerchantName() {
		return merchantName;
	}
	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getMerchantPassword() {
		return merchantPassword;
	}
	public void setMerchantPassword(String merchantPassword) {
		this.merchantPassword = merchantPassword;
	}
	public String getUnifyCode() {
		return unifyCode;
	}
	public void setUnifyCode(String unifyCode) {
		this.unifyCode = unifyCode;
	}
	public String getManage() {
		return manage;
	}
	public void setManage(String manage) {
		this.manage = manage;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public String getCorp() {
		return corp;
	}
	public void setCorp(String corp) {
		this.corp = corp;
	}
	public String getCorpPhone() {
		return corpPhone;
	}
	public void setCorpPhone(String corpPhone) {
		this.corpPhone = corpPhone;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public String getDirectorPhone() {
		return directorPhone;
	}
	public void setDirectorPhone(String directorPhone) {
		this.directorPhone = directorPhone;
	}
	public Double getMerchantBalance() {
		return merchantBalance;
	}
	public void setMerchantBalance(Double merchantBalance) {
		this.merchantBalance = merchantBalance;
	}
	public String getRecordDate() {
		return recordDate;
	}
	public void setRecordDate(String recordDate) {
		this.recordDate = recordDate;
	}
	public Integer getRecordState() {
		return recordState;
	}
	public void setRecordState(Integer recordState) {
		this.recordState = recordState;
	}
	public Integer getAdminId() {
		return adminId;
	}
	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}
	public String getCheckDate() {
		return checkDate;
	}
	public void setCheckDate(String checkDate) {
		this.checkDate = checkDate;
	}
	public String getLicensePicture() {
		return licensePicture;
	}
	public void setLicensePicture(String licensePicture) {
		this.licensePicture = licensePicture;
	}
	public String getCorpPicture() {
		return corpPicture;
	}
	public void setCorpPicture(String corpPicture) {
		this.corpPicture = corpPicture;
	}
	public List<Commodity> getCommoditys() {
		return commoditys;
	}
	public void setCommoditys(List<Commodity> commoditys) {
		this.commoditys = commoditys;
	}
	@Override
	public String toString() {
		return "Merchant [merchantId=" + merchantId + ", merchantName=" + merchantName + ", account=" + account
				+ ", merchantPassword=" + merchantPassword + ", unifyCode=" + unifyCode + ", manage=" + manage
				+ ", location=" + location + ", money=" + money + ", corp=" + corp + ", corpPhone=" + corpPhone
				+ ", director=" + director + ", directorPhone=" + directorPhone + ", merchantBalance=" + merchantBalance
				+ ", recordDate=" + recordDate + ", recordState=" + recordState + ", adminId=" + adminId
				+ ", checkDate=" + checkDate + ", licensePicture=" + licensePicture + ", corpPicture=" + corpPicture
				+ ", commoditys=" + commoditys + "]";
	}
	
}
